package com.concurrent.chapter6.concurrent02;

import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit;

public class MyCalableA implements Callable<String> {

	@Override
	public String call() throws Exception {
		System.out.println("MyCalableA begin," + System.currentTimeMillis());
		TimeUnit.SECONDS.sleep(1);
		System.out.println("MyCalableA end," + System.currentTimeMillis());
		return "MyCalableA";
	}

}
